post_excerpt;
$alt = get_post_meta($image->ID, '_wp_attachment_image_alt', true);
if (!$alt) {
$alt = $caption ? $caption : the_title_attribute('echo=0');
}
$featured = get_post_meta($image->ID, 'themify_gallery_featured', true);
$img_size = $thumb_size !== 'full' ? $size : ( $featured ? array('width' => 474, 'height' => 542) : array('width' => 474, 'height' => 271));
$img_size = apply_filters('themify_single_gallery_image_size', $img_size, $featured);
$height = $thumb_size !== 'full' && $featured ? 2 * $img_size['height'] : $img_size['height'];
$thumb = $featured ? 'large' : $thumb_size;
$img = wp_get_attachment_image_src($image->ID, apply_filters('themify_gallery_post_type_single', $thumb));
$url = !$featured || $use ? $img[0]:themify_get_image("src={$img[0]}&w={$img_size['width']}&h={$height}&urlonly=true");
$lightbox_url = $thumb_size!=='large'?wp_get_attachment_image_src($image->ID, 'large'):$img;
$img = '
';
$img = $isNewWp===true?wp_filter_content_tags($img):wp_make_content_images_responsive($img);
?>